package com.cyy.common.pojo.vo.api;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
@Schema(name = "TagsVo", description = "博客页面展示标签对象")
public class ApiTagsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 472584682063289844L;
    @Schema(description = "id")
    private Integer id;

    @Schema(description = "标签名称")
    private String name;

    @Schema(description = "点击次数")
    private Integer clickCount;

    @Schema(description = "标签对应的文章数")
    private long articleCount;

    @Schema(description = "排序")
    private Integer sort;
}
